#include <myheader.h>


/* Usage:  */
int main(int argc, char *argv[]){                                  
    char cwd[1024];
    if(getcwd(cwd,sizeof(cwd))==NULL){
        return 1;
    }
    printf("%s\n",cwd);
    if(chmod("test.txt",S_IRWXU|S_IRGRP|S_IROTH)==-1){
        perror("chmod error");
        return 1;
    }
    printf("successfully");
    return 0;
}

